package day04.interFace2;

/**
 * @author yangwenqi
 * @decs TODO
 * @date 2025/4/22
 */
public class HardDisk implements Device {
    @Override
    public String readData() {
        return "从移动硬盘读取数据";
    }
    @Override
    public void writeData(String data) {
        System.out.println("向移动硬盘写入数据: " + data);
    }
}
